package com.ideal.proxy.entity;

import lombok.*;

/**
 * @author ideal-20
 * @date 2023-08-05 00:11
 **/
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@Data
public class DocRequest extends ApiBaseRequest{
    /**
     * 知识库命名空间
     */
    private String repoNamespace;

    /**
     * 文档唯一标识
     */
    private String slug;

    public DocRequest(String apiUrl, String token, String source, String repoNamespace, String slug) {
        super(apiUrl, token, source);
        this.repoNamespace = repoNamespace;
        this.slug = slug;
    }
}